import axiosHttp from "../index";
import type { LoginApiParams } from "./type";

export const loginApi = (data: LoginApiParams) => {
  return axiosHttp.post("/api/login", data);
};

export const logoutApi = () => {
  return axiosHttp.post("/api/logout");
};
